<!DOCTYPE html>
<html>
 <head> 
  <title>{$cateName}--{$Think.config.WEBNAME}</title> 
  <!-- meta tags start --> 
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
  <meta name="Keywords" content="个人博客,闫海个人博客,闫海" /> 
  <meta name="Description" content="闫海的个人博客，是一个会点三脚猫功夫的伪php程序员。" /> 
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" /> 
<include file="Common:header" />
   <!-- header wrapper starts --> 
   <div class="headerOuterWrapper pageHeaderWrapper"> 
    <div class="headerWrapper"> 
     <a class="mainLogo" href="index.html"><img src="__PUBLIC__/Index/mobile/images/mainLogo.png" alt="" /></a> 
     <a href="#" class="mainMenuButton"></a>
    </div> 
    <!-- page title starts --> 
    <h3 class="pageTitle">{$cateName}</h3>
    <!-- page title ends --> 
   </div> 
   <!-- header wrapper ends --> 
   <!-- accordion item wrapper starts --> 
    <div class="accordionItemWrapper"> 
     <a href="" class="accordionButton"><span class="accordionButtonIcon"></span><span class="accordionButtonTitle">子栏目</span></a> 
     <div class="accordionContentWrapper"> 
      <div class="accordionContent"> 
      <if condition="!$cateChilds">
      <p>:)&nbsp;&nbsp;&nbsp;&nbsp;没有子栏目了</p>
      <else/>
      <foreach name="cateChilds" item="v" key="k">
       <p><a href="{:U('Mobile/list/'.$v['id'])}">{$v.name}</a></p>
      </foreach>
      </if>
      </div> 
     </div> 
    </div> 
   <!-- accordion item wrapper ends -->
   <!-- page wrapper starts --> 
   <div class="pageWrapper blogPageWrapper"> 
    <!-- blog posts wrapper starts --> 
    <foreach name="list" item="v">
    <div class="blogPostsWrapper"> 
     <!-- small blog post starts  --> 
     <div class="smallPostWrapper"> 
      <a href="" class="postThumbnailWrapper"></a>
      <div class="postExcerptWrapper"> 
       <h4 class="smallPostTitle" <if condition='$v["color"]'>style="color:{$v.color};"</if>><if condition="$v['a_name']">[{$v.a_name|substr=3,90}]&nbsp;&nbsp;</if>{$v.title}</h4> 
       <p>{$v.description}</p> 
      </div> 
      <div class="smallPostInfoWrapper">
       <span class="singleIconWrapper singleIconText iconCalendarDark postInfo postDate postInfoNoMargin">{$v.time|date='Y-m-d', ###}</span>
       <a href="{:U('Mobile/article/'.$v['id'])}" class="smallPostMoreButton">read more</a>
      </div> 
     </div> 
     <!-- small blog post ends --> 
    </div> 
    </foreach>
    <div class="pageNumbersWrapper">  
      {$page}
    </div>
    <div class="pageBreakBoth"></div> 
    <!-- blog posts wrapper ends --> 
   </div> 

   <!-- page wrapper ends --> 
<include file="Common:footer" />